package com.example.b_308.software.view.user;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

import com.example.b_308.software.R;
import com.example.b_308.software.service.IUserView;
import com.example.b_308.software.view.base.BaseActivity;

/**
 * Created by B-308 on 2017/11/29.
 */
public class ResetPassActivity extends BaseActivity implements View.OnClickListener {
    ImageView iv_return;
    Button but_full;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initView();
        initListener();
    }

    private void initView() {
        setContentView(R.layout.activity_correct);
        iv_return.findViewById(R.id.iv_return);
        but_full.findViewById(R.id.but_full);

    }

    private void initListener() {
        iv_return.setOnClickListener(this);
        but_full.setOnClickListener(this);
    }

    public void fail(String message) {}
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.iv_return:
                tent2(ForgetpwActivity.class);break;
            case R.id.but_full:
                tent2(LoginActivity.class);break;
        }}
}